package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程视频关联对象 course_videos
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
public class CourseVideos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private String id;

    /** 课程名 */
    @Excel(name = "课程名")
    private String courseId;

    /** 视频顺序 */
    @Excel(name = "视频顺序")
    private String videoOrder;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String title;

    /** 视频播放URL */
    @Excel(name = "视频播放URL")
    private String videoUrl;

    @Excel(name ="课程表")
    private  Courses courses;

    @Override
    public String toString() {
        return "CourseVideos{" +
                "id='" + id + '\'' +
                ", courseId='" + courseId + '\'' +
                ", videoOrder='" + videoOrder + '\'' +
                ", title='" + title + '\'' +
                ", videoUrl='" + videoUrl + '\'' +
                ", courses=" + courses +
                ", duration='" + duration + '\'' +
                ", del=" + del +
                '}';
    }

    public Courses getCourses() {
        return courses;
    }

    public void setCourses(Courses courses) {
        this.courses = courses;
    }

    /** 视频时长（如15:21） */
    @Excel(name = "视频时长", readConverterExp = "如=15:21")
    private String duration;

    /** 是否删除：0正常 1删除 */
    private Integer del;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }

    public void setVideoOrder(String videoOrder) 
    {
        this.videoOrder = videoOrder;
    }

    public String getVideoOrder() 
    {
        return videoOrder;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }

    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

}
